﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace SMARTHOTEL.RoomNum
{
    public interface IRoomNumService:IApplicationService
    {
        /// <summary>
        /// 添加房号
        /// </summary>
        /// <param name="roomNumDto"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> CreateAllAsync(CreateUpdateRoomNumDto roomNumDto);
        /// <summary>
        /// 显示所有房号
        /// </summary>
        /// <param name = "roomTypeName" ></ param >
        /// < param name="roomNum"></param>
        /// <returns></returns>
        Task<ResultDto<List<RoomNumDto>>> GetAllAsync(string? roomTypeName, string? roomNum);
        /// <summary>
        /// 批量修改房号状态（也可以批量修改上架下架）
        /// </summary>
        /// <returns></returns>
        Task<ResultDto<bool>> UpdateStateAsync(string Id);
        /// <summary>
        /// 批量删除房号（也可以单个删除）
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> DeleteAllAsync(string Id);
        /// <summary>
        /// 修改房号
        /// </summary>
        /// <param name="roomNumDto"></param>
        /// <returns></returns>
        Task<ResultDto<bool>> UpdateAllAsync(CreateUpdateRoomNumDtos roomNumDto);
    }
}
